package cn.yl.pay.service.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author hyl
 */
@Data
@Accessors(chain = true)
public class PayOrderVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单号(唯一)")
    private Integer userId;
    private String orderNo;
    /**
     * 课程id
     */
    private Integer courseId;
    /**
     * 活动课程id
     */
    private Integer activityCourseId;

    @ApiModelProperty("支付来源 1-app 2-h5 3-pc")
    private Integer source;

    private Integer productId;

    private String productName;

    @ApiModelProperty("金额,单位元")
    private BigDecimal amount;

    private String buyId;

    private String codeUrl;

}
